#ifndef NEWDOWNLOADDIALOG_H
#define NEWDOWNLOADDIALOG_H

#include <QDialog>
#include <QLineEdit>
#include <QString>
#include <QComboBox>
#include <QPushButton>
#include <QFileDialog>
#include <QGridLayout>
#include <QLabel>

#include "stardelegate.h"
#include "starrating.h"

class NewDownloadDialog : public QDialog
{
    Q_OBJECT
public:
    explicit NewDownloadDialog(QWidget *parent = 0);

    QString getInternetAddress();
    QString getLocalAddress();
    quint8 getPriority();

private:

    QLineEdit *internetAddressEdit;
    QLineEdit *nameEdit;
    QLineEdit *localAddressEdit;
    QPushButton *saveButton;
    QPushButton *downloadButton;
    QPushButton *cancelButton;
    QComboBox *priorityComboBox;
    
signals:
    
public slots:
    void saveButtonClicked();
};

#endif // NEWDOWNLOADDIALOG_H
